package com.sq.partner.manager.service;

import java.util.List;
import java.util.Map;

import com.sq.partner.manager.common.Result;
import com.sq.partner.manager.mybatis.model.RuleAgent;
import com.sq.partner.manager.util.Page;

public interface RuleAgentConfigService {
	public Page<Map<String,Object>> queryRuleAgentPageByCriteria(Page<Map<String,Object>> page) throws Exception;
	public Result delRuleAgentById(String ruleAengntId) throws Exception;
	public Page<Map<String, Object>> queryAgentInfoByPlan(Page<Map<String, Object>> page)
			throws Exception;
	Result saveRuleAgentById(RuleAgent ruleAgent) throws Exception;
	Page<Map<String, Object>> queryRulePageByCriteria(
			Page<Map<String, Object>> page) throws Exception;
	public Map<String, Object> queryAgentInfoById(String ruleAgentId) throws Exception ;
	public Result updateRuleAgent(RuleAgent ruleAgent) throws Exception;
}
